import request from '@/utils/request'

export function save(data) {
  return request({
    url: `/md/operations/save`,
    method: 'post',
    data: data
  })
}

export function query(data) {
  return request({
    url: `/md/operations/query`,
    method: 'get',
    params: data
  })
}

export function delet(data) {
  return request({
    url: `/md/operations/delete`,
    method: 'get',
    params: data
  })
}

export function getOperationCustomData() {
  return request({
    url: `/md/commonCustomDatas/getOperationCustomData`,
    method: 'get'
  })
}

export function getTableList(data) {
  return request({
    url: `/md/commonBrowsers/selectPageOperation`,
    method: 'post',
    data: data
  })
}
